#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:zp_03_minimumWhiteTiles.py
# author:张世航
# datetime:2025/2/21 15:32
# software: PyCharm
"""
this is function  description 
"""
# import module your need


#2209. 用地毯覆盖后的最少白色砖块
#1.优先覆盖连续白色，即floor[i]=1连续的合并，再去减黑色条数和块数积，没有大于的就减小往下继续找最大连续。
#2.补剩余小的，一个一个的
class Solution:
    def minimumWhiteTiles(self, floor: str, numCarpets: int, carpetLen: int) -> int:
        pass